package scau.redi.social_platform.service;

import scau.redi.social_platform.common.util.ResponsePageUtil;
import scau.redi.social_platform.domain.pojo.UserInfo;
import scau.redi.social_platform.domain.vo.BriefSharedVO;

import java.util.List;

/**
 * @Author: Redi
 * @Date: 2022/5/17 21:18
 * @Description:
 */
public interface SearchService {

    ResponsePageUtil<BriefSharedVO> findByContent(String content, Integer page, Integer size);

    List<UserInfo> findByUsernameLike(String username, Integer page, Integer size);

}
